package com.zytlifeservice.service.find;

import com.zytlifeservice.domain.find.FinacialServiceBean;
import com.zytlifeservice.repository.find.FinacialServiceRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 金融服务业务类
 * Created by Administrator on 2017/6/2.
 */
@Service
public class FinacialService {
   @Autowired
   private FinacialServiceRepository finacialServiceRepository;//金融服务持久对象

    public List<FinacialServiceBean>  finacialServiceAll(String ftype){
         return finacialServiceRepository.findFinacialServiceAll(ftype);
    }

    public List<FinacialServiceBean>  findFinacialByServiceAll(){
        return finacialServiceRepository.findFinacialByServiceAll();
    }
}
